Skip to content

Conversation

@gpx1000
Copy link
Contributor

@gpx1000 gpx1000 commented Jul 7, 2025

I'm experimenting with having the CI create the antora playbook since it'd only be used by the CI of this project, no need for a file that checks it in.

spencer-lunarg
spencer-lunarg previously approved these changes Jul 7, 2025
Copy link
Contributor

@spencer-lunarg spencer-lunarg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if github is happy, I am happy with this change

@gpx1000
Copy link
Contributor Author

gpx1000 commented Jul 7, 2025

Okay, that should do it.

@gpx1000 gpx1000 linked an issue Jul 7, 2025 that may be closed by this pull request
@spencer-lunarg
Copy link
Contributor

ok, this is good, but it actually should be failing

I just realized the images show up in

https://github.com/KhronosGroup/Vulkan-Guide/blob/main/chapters/image_copies.adoc

but not in

https://docs.vulkan.org/guide/latest/image_copies.html

and looking at the CI run, I see the errors

image

@gpx1000
Copy link
Contributor Author

gpx1000 commented Jul 8, 2025 via email

@spencer-lunarg
Copy link
Contributor

aww, seems https://github.com/KhronosGroup/Vulkan-Guide/blob/main/antora/Makefile needs to be updated to cp .svg files as well

diff --git a/antora/Makefile b/antora/Makefile
index b4e3f14..85b9640 100644
--- a/antora/Makefile
+++ b/antora/Makefile
@@ -23,6 +23,7 @@ setup_spec:
        $(CP) $(wildcard chapters/extensions/[A-Za-z]*.adoc) $(ROOT)/pages/extensions/
        mkdir -p $(ROOT)/images
        $(CP) $(wildcard chapters/images/[A-Za-z]*.png) $(ROOT)/images/
+       $(CP) $(wildcard chapters/images/[A-Za-z]*.svg) $(ROOT)/images/
        $(CP) $(wildcard images/[A-Za-z]*.png) $(ROOT)/images/
        mkdir -p $(ROOT)/images/extensions
        $(CP) $(wildcard chapters/images/extensions/[A-Za-z]*.png) $(ROOT)/images/extensions

but this CI run should have "failed" and caught this

@gpx1000
Copy link
Contributor Author

gpx1000 commented Jul 8, 2025 via email

@gpx1000
Copy link
Contributor Author

gpx1000 commented Jul 8, 2025

Okay, it will now error out on any warning or error produced by antora. I also fixed the errors themselves and it's a build passed.

Copy link
Contributor

@spencer-lunarg spencer-lunarg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gpx1000 this is awesome!

@spencer-lunarg spencer-lunarg merged commit 8121dd8 into KhronosGroup:main Jul 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add CI step for Antora documentation build

2 participants